package cn.hd01.common;

/**
 * 来源
 * 转介绍/个人/自有店铺
 * @author Bill
 *
 */
public enum Source {
	
	BY_RECOMMEND("0", "转介绍"),
	PERSIONAL("1", "个人"),
	OWN_SHOP("2", "自有店铺");
	
	private String code;
	
	private String name;

	private Source(String code, String name) {
		this.code = code;
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}